package com.xue.web.servlet;

import com.xue.web.utils.FileUploadUtil;

import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.*;
import java.util.Map;

public class UpLoadServlet extends HttpServlet {
    @Override
    protected void service(HttpServletRequest req, HttpServletResponse resp) throws IOException {
        Map<String, String> temp = FileUploadUtil.upLoad(req, "temp", this);
        System.out.println(temp);
    }
}
